package net.tv90.volunteerserveradmin.dao;

import net.tv90.volunteerserveradmin.model.domain.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface TeacherRepository extends JpaRepository<Teacher, Long>, JpaSpecificationExecutor<Teacher> {

    Teacher findByStaffNumberAndNameAndIdCardNumber(String number, String name, String idCardNumber);
}
